package com.hongxun.modules.csg.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.hongxun.common.validator.group.AddGroup;
import com.hongxun.common.validator.group.UpdateGroup;
import com.hongxun.modules.bss.entity.APBaseEntity;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;


/**
 * 隐蔽工程采集记录
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-08-30 10:08:43
 */
public class CMiddleCheckEntity implements Serializable {
	private static final long serialVersionUID = 1L;


	//guid
	private String guid;
	//项目guid
	private String pGuid;
	private String pName;
	//经度
	private BigDecimal mCLongitude;
	//纬度
	private BigDecimal mCLatitude;

	//检查日期
//	@NotBlank(message="检查日期不能为空", groups = {AddGroup.class, UpdateGroup.class})
//	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Date mCTime;

	//记录方式(施工/现场) 数据字典mode_type
	@NotBlank(message="记录方式不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String mCMode;

	//记录类别(杆塔/配电设备) 数据字典 check_type
	@NotBlank(message="记录类别不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String mCType;

	//编号/名称
	@NotBlank(message="编号/名称不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String mCName;

	//电杆高度
	@NotBlank(message="电杆高度不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String mCHigh;

	//审核结果(登陆人权限-现场不审)
	private String mCResult;
	//采集人名称
	private String mCUsername;
	//采集人
	private Long mCUser;
	//数据状态
	private String mCDatastate;


	public String getPname() {
		return pName;
	}

	public void setPName(String pName) {
		this.pName = pName;
	}

	/**
	 * 设置：guid
	 */
	public void setGuid(String guid) {
		this.guid = guid;
	}
	/**
	 * 获取：guid
	 */
	public String getGuid() {
		return guid;
	}
	/**
	 * 设置：项目guid
	 */
	public void setPGuid(String pGuid) {
		this.pGuid = pGuid;
	}
	/**
	 * 获取：项目guid
	 */
	public String getPGuid() {
		return pGuid;
	}
	/**
	 * 设置：经度
	 */
	public void setMCLongitude(BigDecimal mCLongitude) {
		this.mCLongitude = mCLongitude;
	}
	/**
	 * 获取：经度
	 */
	public BigDecimal getMCLongitude() {
		return mCLongitude;
	}
	/**
	 * 设置：纬度
	 */
	public void setMCLatitude(BigDecimal mCLatitude) {
		this.mCLatitude = mCLatitude;
	}
	/**
	 * 获取：纬度
	 */
	public BigDecimal getMCLatitude() {
		return mCLatitude;
	}
	/**
	 * 设置：检查日期
	 */
	public void setMCTime(Date mCTime) {
		this.mCTime = mCTime;
	}
	/**
	 * 获取：检查日期
	 */
	public Date getMCTime() {
		return mCTime;
	}
	/**
	 * 设置：记录方式(施工/现场) 数据字典mode_type
	 */
	public void setMCMode(String mCMode) {
		this.mCMode = mCMode;
	}
	/**
	 * 获取：记录方式(施工/现场) 数据字典mode_type
	 */
	public String getMCMode() {
		return mCMode;
	}
	/**
	 * 设置：记录类别(杆塔/配电设备) 数据字典 check_type
	 */
	public void setMCType(String mCType) {
		this.mCType = mCType;
	}
	/**
	 * 获取：记录类别(杆塔/配电设备) 数据字典 check_type
	 */
	public String getMCType() {
		return mCType;
	}
	/**
	 * 设置：编号/名称
	 */
	public void setMCName(String mCName) {
		this.mCName = mCName;
	}
	/**
	 * 获取：编号/名称
	 */
	public String getMCName() {
		return mCName;
	}
	/**
	 * 设置：电杆高度
	 */
	public void setMCHigh(String mCHigh) {
		this.mCHigh = mCHigh;
	}
	/**
	 * 获取：电杆高度
	 */
	public String getMCHigh() {
		return mCHigh;
	}
	/**
	 * 设置：审核结果(登陆人权限-现场不审)
	 */
	public void setMCResult(String mCResult) {
		this.mCResult = mCResult;
	}
	/**
	 * 获取：审核结果(登陆人权限-现场不审)
	 */
	public String getMCResult() {
		return mCResult;
	}
	/**
	 * 设置：采集人名称
	 */
	public void setMCUsername(String mCUsername) {
		this.mCUsername = mCUsername;
	}
	/**
	 * 获取：采集人名称
	 */
	public String getMCUsername() {
		return mCUsername;
	}
	/**
	 * 设置：采集人
	 */
	public void setMCUser(Long mCUser) {
		this.mCUser = mCUser;
	}
	/**
	 * 获取：采集人
	 */
	public Long getMCUser() {
		return mCUser;
	}
	/**
	 * 设置：数据状态
	 */
	public void setMCDatastate(String mCDatastate) {
		this.mCDatastate = mCDatastate;
	}
	/**
	 * 获取：数据状态
	 */
	public String getMCDatastate() {
		return mCDatastate;
	}

}
